package com.dx.financehy.modules.file.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dx.financehy.base.SuperCommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <pre>
 * @描述：file实体类
 * @作者：CLD
 * @创建时间：2022-04-18 21:21
 * </pre>
 **/
@ApiModel(description = "文件表实体")
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("comm_file")
public class FileEntity extends SuperCommonEntity<FileEntity> implements Serializable {

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "原文件名")
    private String orgName;

    @ApiModelProperty(value = "文件大小（单位：k）")
    private Long size;

    @ApiModelProperty(value = "文件路径")
    private String path;

    @ApiModelProperty(value = "文件扩展名")
    private String extName;

    @ApiModelProperty(value = "mime类型")
    private String mimeType;
}
